package com.aprivate.kn.ratingsystem;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by kenan on 2018/11/16.
 */

public class config {
    public static final String URL = "http://39.96.26.18/rating/server";
    public static final String USER_TOKEN_KEY = "user-token";
    public static String USER_TOKEN_VALUE = "";
    public static final String CHANNEL_KEY = "channel";
    public static String CHANNEL_VALUE = "app";
    public static final String Login_Url = "/user/login";
    public static final String ProjectList_Url = "/project/list";
    public static final String ProjectInfo_Url = "/project/getProductInfo";
    public static final String AnswerQuestion_Url = "/project/answerQuestion2";//提交答案接口
    public static final String Evidence_Submit_Url = "/project/uploadFile";//提交证据文件
    public static final String Edit_Project_Url = "/project/editProject";//修改项目接口
    public static Map<String, String> headerMap = new HashMap<>();

    public static Map<String, String> getHeaderMap() {
        headerMap.put(CHANNEL_KEY, CHANNEL_VALUE);
        headerMap.put(USER_TOKEN_KEY, USER_TOKEN_VALUE);
        return headerMap;
    }

}
